-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send an invoice from an invoice room #41902
Send an invoice from an invoice room #41902
Conversation
NOTE: there is a known issue which makes an invoice disappear right after creation |
@dannymcclain Thank you, done! |
Good catch Danny, I agree with that one. |
@akinwale when can you take a look at this PR? |
I'll review today. |
@VickyStash Please fix merge conflicts. |
# Conflicts: # src/components/MoneyRequestConfirmationList.tsx
@akinwale Done |
@VickyStash There's another merge conflict that needs to be fixed. I've finished testing and will post the checklist within the next few hours. |
# Conflicts: # src/libs/ReportUtils.ts # src/libs/actions/IOU.ts
@akinwale conflicts are resolved 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The compose menu is looking good, and overall this is working well.
One odd thing I found is that when I go to create an invoice from the compose menu, on the creation screen, in the To
field, both avatars are hoverable and if I click on the row, the room details open.
CleanShot.2024-05-14.at.09.54.26.mp4
I would expect that row to be completely non-interactive, like the From
row is. So no ability to hover over the avatars, no hover state on the row, and no details pane when I click. cc @Expensify/design for a gut check on that though. It just feels a little odd how it is right now?
We have the same behaviour if user EXAMPLE.mp4But I'm okay to disable it for invoices if needed 👌 |
Ah ok thanks. If that's how it works for submitting expenses on a workspace let's not mess with that behavior here. It would be better to have an issue specifically to address that behavior in all the different circumstances if we want to change it. I personally don't really think we need to deal with it right this second though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Design-wise this looks good. Should definitely still get a solid engineering review though.
That's a great observation Danny - I agree with where you all landed. I think it's worth having a quick Slack conversation about that behavior, I agree it does feel a bit odd to be able to navigate to the workspace details from here. |
@akinwale kind bump :) |
Reviewer Checklist
Screenshots/VideosAndroid: NativeiOS: NativeMacOS: Chrome / Safari41902-web.mp441902-web-receiver.mp4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/cristipaval in version: 1.4.74-0 🚀
|
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.74-6 🚀
|
Details
The PR enables an invoice sending from an invoice room.
Fixed Issues
$ #41878
PROPOSAL: N/A
Tests
Offline tests
Same as in the Tests section
QA Steps
Same as in the Tests section
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
android1.mp4
Android: mWeb Chrome
android_web1.mp4
iOS: Native
ios1.mp4
iOS: mWeb Safari
ios_web1.mp4
MacOS: Chrome / Safari
web1.mp4
MacOS: Desktop
desktop1.mp4